#ifndef __TASK_TIMER_H_
#define __TASK_TIMER_H_

#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"                     // ARM.FreeRTOS::RTOS:Core
#include "timers.h"
#include "task.h"
#include "semphr.h"

#include "string.h"
#include "stdint.h"
#include "usart3.h"
#include "font.h"
#include "at7456e.h"
#include "Task_OSD.h"
#include "usart6.h"
#include "at7456e.h"

extern uint32_t TIME1_DATA;

extern TimerHandle_t LoadingContinue_Timer;
extern TimerHandle_t Buttton_Timer;
extern TimerHandle_t DistanceTimer;

extern QueueHandle_t Buttton_Press_SemHandle;//?? release
extern QueueHandle_t Buttton_Release_SemHandle;//?? 
extern QueueHandle_t DistacePower_SemHandle;



void Timer_Create(void);

void StartDistanceTimer(void);
void StopDistanceTimer(void);

void StartButtonTimer(void);
void StopButtonTimer(void);

void StartCompassTimer(void);
void StopComapssTimer(void);


void StartLoadingContinueTimer(void);
void StopLoadingContinueTimer(void);

void StartIRTimer(void);
void StopIRTimer(void);
#endif







